# for ch in [123,123,321,456,789,'olins']:
#     print('ch=',ch)
# else:
#     print('疯狂索取结束')
# i = input('输入一个字符串')
# count = 0
# for n in i:
#     if n == 's':
#          count += 1
# print('有',count)
# for i in range(1,21):
#     print(i,end=' ')
# else:
#     print()
# n = 0
# for i in range(1,100,2):
#     n += i
# print(n)
#
# j = 0
# i = 1
# while i < 100:
#     j = j + i
#     i += 2
# print(j)
# for x in range(5):
#     if x % 2 == 1:
#         continue
#     print(x)


# x = 0
# while x < 5:
#     print(x)
#     if x % 2 == 1:
#         continue
#     x += 1


for i in range(3):
    username = input('请输入')
    password = input('请输入')
    if username != 'root' or password != '123456':
        print('错误！')
        continue
    else:
        print('成功！')
        break
else:
    print('登录失败')
